/* 声明字体图标 这里一定要注意路径的变化 */
@font-face {
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?tomleg');
    src:  url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'),
          url('../fonts/icomoon.ttf?tomleg') format('truetype'),
          url('../fonts/icomoon.woff?tomleg') format('woff'),
          url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
.w{
    width: 1200px;
    margin: 0 auto;

}

.fl{
    float: left;
}

.fr{
    float: right;
}
/* 颜色做一个类名，谁需要红色谁调用 */
.style_red{
 color:#c81623;
}

/* 快捷键导航模块 */
.shortcut{
    height: 31px;
    background-color: #f1f1f1;
    line-height: 31px;
}

.shortcut ul li{
    float: left;
}
/* 选中偶数的li */
.shortcut .fr ul li:nth-child(even){
    width: 1px;
    height: 12px;
    background-color: #666;
    /* 记得这里要常用 牢记 */
    margin: 9px 15px;
}
.arrow-icon::after{
    content:'\e91e';
    font-family: 'icomoon';
    margin-left: 6px;
}
/* header头部样式制作 start*/
.header{
    position: relative;
    height: 105px;
}
/* header头部样式制作 end */
.logo{
    position: absolute;
    top: 25px;
    width: 171px;
    height: 61px;
}

.logo a{
    display: block;
    width: 171px;
    height: 61px;
    /* 背景是一张图片 并且不重复 */
    background: url(../images/logo.png) no-repeat;
    /* 这个是京东网站的作法 字体大小设为0 */
    /* font-size: 0; */
    /* 这个是淘宝网的作法 */
    text-indent: -9999px;
    overflow: hidden;
}
/* search布局 */
.search{
    position: absolute;
    left:346px;
    top: 25px;
    width: 454px;
    height: 36px;
    border: 2px solid #b1191a;
}

.search input{
    float: left;
    height: 100%;
    width: 370px;
    padding-left: 10px;
}
.search button{
    float: left;
    height: 32px;
    width: 80px;
    background-color: #b1191a;
    font-size: 16px;
    color: #fff;
}
.hotwords {
    position: absolute;
    top: 66px;
    left: 346px;
}
.hotwords a{
    margin: 0 10px;
}
.shopcar{
    position: absolute;
    top:25px;
    right:60px;
    width: 140px;
    height: 35px;
    border: solid 1px #dfdfdf;
    background-color: #f7f7f7;
    line-height: 35px;
    text-align: center;
}
.shopcar::before{
    content: '\e93a';
    font-family: 'icomoon';
    margin-right:5px ;
    color: #b1191a;

}
.shopcar::after{
    content: '\e920';
    font-family: 'icomoon';
    margin-left: 10px;
}

.shopcar .count{
    position: absolute;
    top: -8px;
    left: 100px;
    height: 14px;
    line-height: 14px;
    color: #fff;
    background-color: red;
    padding: 0 5px;
    border-radius: 7px 7px 7px 0 ;
}

/* nav模块的布局 */
.nav{
    height: 47px;
    border-bottom: 2px solid #b1191a;
}
.nav .dropdown{
    float: left;
    background-color: #b1191a;
    width: 210px;
    height: 45px;
}
.nav .navitems{
    float: left;
}

.dropdown .dt{
    width: 100%;
    height: 100%;
    color: #fff;
    line-height:45px ;
    text-align: center;
    font-size: 16px;
}
.dropdown .dd{
    /* display: none; */
    width: 210px;
    height: 465px;
    background-color:#b1191a;
    margin-top: 2px;
}
.dropdown  .dd li{
    position: relative;
    height: 31px;
    line-height: 31px;
    margin-left: 2px;
    padding-left: 10px;
}
.dropdown  .dd li a{
    font-size: 14px;
    color: #fff;    
}
.dropdown .dd ul li:hover{
    background-color: #fff;
}
.dropdown .dd ul li:hover a{
    color: #b1191a;
} 

.dropdown .dd ul li::after{
    position: absolute;
    top: 1px;
    right: 10px;
    color: #fff;
    font-family: 'icomoon';
    content: '\e920';
    font-size: 14px;
}
.navitems ul li{
    float: left;
}

.navitems ul li a{
    display: block;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    padding: 0 25px;
}

/* footer模块的制作 */
.footer {
    height: 415px;
    background-color: #f5f5f5;
    padding-top: 30px;
}
.mod_service{
    height: 80px;
    border-bottom: 1px solid #ccc;
}
.mod_service ul li{
    float: left;
    width: 300px;
    height: 50px;
    padding-left: 35px;
}

.mod_service ul li h5{
    float: left;
    width: 50px;
    height: 50px;
    margin-right: 8px;
    background: url('../images/icons.png') no-repeat -252px -2px;
}

.mod_service .service_txt h4{
    font-size: 14px;
}
.mod_service .service_txt p{
    font-size: 12px;
}
/* mod_help模块制作 */
.mod_help{
    height: 185px;
    border-bottom: 1px solid #ccc;
    padding-top: 20px;
    padding-left: 150px;
}
.mod_help dl {
    float: left;
    width: 200px;
}
.mod_help dl:last-child {
    width: 90px;
    text-align: center;
}
.mod_help dl dt {
    font-size: 16px; 
    margin-bottom: 10px;
}
/* mod_copyright模块制作 */
.mod_copyright{
    padding-top: 20px;
    text-align: center;
}
.link{
    margin-bottom: 15px;
}
.link a{
    margin: 0 3px;
}
.copyright{
    line-height: 20px;
}